// 配置静态路由
export default [
  // 预支付
  {
    path: 'preorder',
    name: 'preorder',
    component: () => import('@/pages/Home/PreOrder')
  },
  // 支付
  {
    path: 'payment',
    name: 'payment',
    component: () => import('@/pages/Home/PayMent'),
    children: [
      {
        path: 'pay',
        name: 'pay',
        component: () => import('@/pages/Home/PayMent/Pay')
      },
      {
        path: 'paysuccess',
        name: 'paysuccess',
        component: () => import('@/pages/Home/PayMent/PaySuccess')
      },
      {
        path: 'payfail',
        name: 'payfail',
        component: () => import('@/pages/Home/PayMent/PayFail')
      }
    ]
  }
]
